#include <stdio.h>

int main()
{
	int arr[] = { 1, 2, 3, 4, 5, 1, 2, 3 ,4 ,6 };
	int i = 0;
	int j = 0;
	int flag = 0;
	for (i = 0; i < sizeof(arr) / sizeof(arr[0]); i++)
	{
		flag = 0;
		for (j = i+1; j < sizeof(arr) / sizeof(arr[0]); j++)
		{
			if (arr[i] == arr[j])
			{
				flag = 1;
				arr[j] = 0;
				break;
			}
		}
		if (flag == 0)
		{
			if (arr[i] != 0)
			{
				printf("%d\n", arr[i]);
			}
			
		}
	}
	return 0;
}